<?php
    global $site_info;
    if(isset($_GET['type'])){
        if(strtolower($_GET['type'])=='jobseeker') 
            $this->load->view('layouts/jobseeker_register');
        else if(strtolower($_GET['type'])=='employer')
            $this->load->view('layouts/employer_register'); 
        else
            redirect();  
    }else
        redirect(base_url().'account/register.html?type='.$this->session->userdata('user_type'));
?>
